#include "Ray.h"

Ray::Ray(cs5721::Vector3D& o, cs5721::Vector3D& d) {
    origin = o;
    direction = d;
    direction.normalize();
//    invDirection.set(1.0/d[0], 1.0/d[1], 1.0/d[2]);
//    sign.set((invDirection[0] < 0.0), (invDirection[1] < 0.0),
//            (invDirection[2] < 0.0));
}
